﻿--[[
   @brief    web game desc
   @author   rickwen
   @version  1.0
   @date     2015-06-20
--]]

web_game_desc = {
    module_name = 'web_game',
    events = {
        {
            c_event = {
               
            },
            lua_event = {
                {
                    id = extendboard_event.ON_JS_CALLBACK_WEB_GMAE,
                    callback = 'web_game_control.on_js_callback_web_game'
                },
                {
                    id = extendboard_event.CHECK_IS_IN_GAME_LIST,
                    callback = "web_game_control.handle_check_is_in_game_list"
                },
                {
                    id = extendboard_event.CHECK_IS_IN_VISIBLE_GAME_LIST,
                    callback = "web_game_control.handle_check_is_in_visible_game_list"
                },
                {
                    id = extendboard_event.ADD_WEB_GAME,
                    callback = "web_game_control.handle_add_web_game"
                },
                {
                    id = extendboard_event.LAUNCH_WEB_GAME,
                    callback = "web_game_control.handle_launch_web_game"
                },
                {
                    id = extendboard_event.ADD_MOBILE_GAME_ASSISTANT,
                    callback = "web_game_control.handle_add_mobile_game_assistant"
                },
                {
                    id = extendboard_event.CHECK_HAS_MOBILE_GAME_ASSISTANT,
                    callback = "web_game_control.handle_check_has_mobile_game_assistant"
                }
            },
            lua_file = 'web_game\\control.lua'
        }
    }
};

desc_mgr.add(web_game_desc);
